package com.lfnyxy.dao;



import com.lfnyxy.dto.DropVo;
import com.lfnyxy.entity.ClientEntity;
import com.lfnyxy.query.ClientQuery;
import com.lfnyxy.vo.ProductVo;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface ClientDao {
    int CreateItem(ClientEntity entity);

    int UpdateItem(ClientEntity entity);

    List<ProductVo> QueryPageList(ClientQuery query);

    List<ClientEntity> QueryAll();

    List<DropVo> QueryDrop(ClientQuery query);

    int QueryPageListCount(ClientQuery query);

    int CheckIsExist(ClientEntity entity);

    ClientEntity QueryItem(int Id);

    int DeleteItem(int Id);


}